set -x
disk=${1:-~/workspace/other/bochsws/hd60M.img}
nasm -I include/ -o mbr.bin mbr.S
dd if=./mbr.bin of=${disk} bs=512 count=1 conv=notrunc
nasm -I include/ -o loader.bin loader.S
dd if=./loader.bin of=${disk} bs=512 count=1 seek=2 conv=notrunc